Personal tools

Lua/Shared/Transform3/Functions/Scale

From JC2-MP Documentation

< Lua‎ | Shared‎ | Transform3
Jump to: navigation, search

Returns    Transform3
Prototype    Transform3:Scale(number scale)
Description    Scales the transform axes uniformly.



Returns    Transform3
Prototype    Transform3:Scale(Vector3 scale)
Description    Scales the transform independently on each axis.


Additional Notes

  • These operations do not yield a new transform object, the returned object and the subject are the same.